package com.cdut.hwadeefsc.service;

import com.cdut.hwadeefsc.entity.homework;
import java.util.List;

public interface homeworksService {
    List<homework> getHomeworkByClassId(Integer classId);
    List<homework> getHomeworkByStudentId(Integer studentId);
    List<homework> getHomeworkByCourse(String courseName);
    List<homework> getActiveHomework();
    homework getHomeworkById(Integer id);
    boolean addHomework(homework homework);
    boolean updateHomework(homework homework);
    boolean deleteHomework(Integer id);
}
